package com.cloud.note.dto.note;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CreateNoteRequest {

    @NotBlank(message = "标题不能为空")
    private String title;

    private String content;

    private Integer color;

    private List<String> tags;

    private boolean isReminder;

    private LocalDateTime reminderDate;

    private String category;
}